# == Schema Information
#
# Table name: products # 商品
#
#  id                :bigint(8)        not null, primary key
#  name(名称)          :string
#  category_id(分类id) :integer
#  param_keys(参数键名)  :jsonb
#  param_values(参数值) :jsonb
#  price(价格)         :float
#  des(描述)           :string
#  sale_count(销量)    :integer
#  rest_count(库存)    :integer
#  created_at        :datetime         not null
#  updated_at        :datetime         not null
#

FactoryBot.define do
  factory :product do
    name { FFaker::LoremCN.sentence }
  end
end
